import { createStore } from "vuex";
// 引入模块文件
import user from "./modules/user";
import permission from "./modules/permission" ;
// 创建Vuex
export default createStore({
  state: {},
  mutations: {},
  actions: {},
  modules: { // 模块化
    user,       // 载入 user 模块
    permission
  }
});
